<{include file="public/header.html"}>
<p id="page-intro">Free Blog</p>
<div>
				<span style='font-size:15px;'>
					<a href='<{$app}>/articleManage/manageArticle'>所有类别</a>&nbsp;<img
                        src='<{$public}>/images/arrows.GIF'/>&nbsp;<{$viewResult.article_category}>
					&nbsp;<img src='<{$public}>/images/arrows.GIF'/>
					&nbsp;<{$viewResult.article_title}>
				</span><br/><br/>
    <span style='font-size:15px;'>发表于:&nbsp;&nbsp;<{$viewResult.article_time|date_format:"%y年-%m月-%d日 %H:%M:%S"}></span>
</div>
<br/>
<div class="clear"></div> <!-- End .clear -->

<div class="content-box"><!-- Start Content Box -->
    <div class="content-box-header">
        <h3>文章详细内容</h3>
        <ul class="content-box-tabs">
            <li><a href="#tab1" class="default-tab">详细内容</a></li>
            <!-- href must be unique and match the id of target div -->
        </ul>
        <div class="clear"></div>
    </div> <!-- End .content-box-header -->

    <div class="content-box-content ">
        <div class="tab-content default-tab" id="tab1">
            <!-- This is the target div. id must match the href of this div's tab -->
            <form action='<{$url}>/updateArticle' method='post'>
                <table>
                    <thead>
                    <tr>
                        <td>
                            <input type='text' name='article_title' style='height:30px;width:500px;font-size:19px;'
                                   value='<{$viewResult.article_title}>'/>
                        </td>
                        <td>
                            <b>选择文章类别:</b>
                            <select name='article_category'>
                                <option value='未分类'>选择分组</option>
                                <{section name='category' loop=$allCategory}>
                                <{if $allCategory[category].category_name eq $viewResult.article_category}>{
                                <option value='<{$allCategory[category].category_name}>' selected="selected">
                                    <{$allCategory[category].category_name}>
                                </option>
                                }<{else}>
                                <option value='<{$allCategory[category].category_name}>'>
                                    <{$allCategory[category].category_name}>
                                </option>
                                <{/if}>
                                <{/section}>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <b>可见性:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <input type='radio' name='article_authority' value='1' <{if $viewResult.article_authority eq
                            '1'}> checked='checked'<{/if}> />仅自己&nbsp;&nbsp;&nbsp;&nbsp;

                            <input type='radio' name='article_authority' value='3' <{if $viewResult.article_authority eq
                            '3'}> checked='checked'<{/if}> />全部可见&nbsp;&nbsp;&nbsp;&nbsp;
                        </td>
                        <td>
                            <b>是/否可以评论:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <input type='radio' name='article_review' value='1' <{if $viewResult.article_review eq '1'}>
                            checked='checked'<{/if}> />是&nbsp;&nbsp;&nbsp;&nbsp;
                            <input type='radio' name='article_review' value='0' <{if $viewResult.article_review eq '0'}>
                            checked='checked'<{/if}> />否&nbsp;&nbsp;&nbsp;&nbsp;
                        </td>
                    </tr>
                    </thead>
                    <tfoot>
                    <tr>
                        <td colspan='2'>
                            <input type='hidden' value='<{$viewResult.aid}>' name='aid'/>
                            <input type='submit' value='确认修改' name='subArticle' class='button'
                                   style="height:27px;width:80px"/>&nbsp;&nbsp;&nbsp;&nbsp;
                            <a href='<{$app}>/articleManage/manageArticle' class='button'>返回文章列表</a>
                        </td>
                    </tr>
                    </tfoot>
                    <tbody>
                    <tr>
                        <td colspan='2'>
                            <!-- 调用编辑器-->
                            <textarea cols='20' rows='30'
                                      name='article_content'><{$viewResult.article_content}></textarea>
                            <{$ckeditor}>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div> <!-- End .content-box-content -->
</div> <!-- End .content-box -->
<div class="clear"></div>
<!--页面底部-->
<{include file="public/foot.html"}>